<?php $errorStr='';if(!filter_has_var(INPUT_POST,'ids')){$errorStr="错误查询参数";}if(!$errorStr){$productDel=(new Zmsun\Copen\TopPackage("zm345.open.enterpr",new Zmsun\Copen\OpenLib($this->serviceManager->get("Database"),$this->serviceManager->get("DBTablePrefix"))))->product->productsDelete;$stat=$productDel->setIds($_POST['ids'])->exec();if($stat['status']=='error'){$errorStr=$stat['error_msg'];}}if($errorStr){$result=['status'=>"error","info"=>$errorStr];}else{$result=['status'=>"ok","info"=>''];}print json_encode($result);?>